﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class VocabularyBUS
    {
        public static List<VOCABULARY> getListVocabularies()
        {
            return VocabularyDAO.getListVocabularies();
        }

        public static List<VOCABULARY> getListVocabularies(int idTopic)
        {
            return VocabularyDAO.getListVocabularies(idTopic);
        }

        public static List<VOCABULARY> getListVocabularies(short isTwoWordVerb)
        {
            return VocabularyDAO.getListVocabularies(isTwoWordVerb);
        }

        public static List<VOCABULARY> getListVocabularies(int idTopic, short isTwoWordVerb)
        {
            return VocabularyDAO.getListVocabularies(idTopic, isTwoWordVerb);
        }

        public static VOCABULARY getVocabulary(String word, String type, int idtopic)
        {
            return VocabularyDAO.getVocabulary(word, type, idtopic);
        }

        public static List<VOCABULARY> getListVocabulariesbyDateToDate(DateTime dateBegin, DateTime dateEnd)
        {
            return VocabularyDAO.getListVocabulariesbyDateToDate(dateBegin, dateEnd);
        }

        public static List<VOCABULARY> getListVocabulariesbyDateToDate(DateTime dateBegin, DateTime dateEnd, int idTopic)
        {
            return VocabularyDAO.getListVocabulariesbyDateToDate(dateBegin, dateEnd, idTopic);
        }

        public static List<VOCABULARY> getListVocabulariesbyDateToDate(DateTime dateBegin, DateTime dateEnd, short isTwoWordVerb)
        {
            return VocabularyDAO.getListVocabulariesbyDateToDate(dateBegin, dateEnd, isTwoWordVerb);
        }

        public static List<VOCABULARY> getListVocabulariesbyDateToDate(DateTime dateBegin, DateTime dateEnd, int idTopic, short isTwoWordVerb)
        {
            return VocabularyDAO.getListVocabulariesbyDateToDate(dateBegin, dateEnd, idTopic, isTwoWordVerb);
        }

        public static List<VOCABULARY> getListVocabulariesbyMonth(DateTime date)
        {
            return VocabularyDAO.getListVocabulariesbyMonth(date);
        }

        public static List<VOCABULARY> getListVocabulariesbyMonth(DateTime date, int idTopic)
        {
            return VocabularyDAO.getListVocabulariesbyMonth(date, idTopic);
        }

        public static List<VOCABULARY> getListVocabulariesbyMonth(DateTime date, short isTwoWordVerb)
        {
            return VocabularyDAO.getListVocabulariesbyMonth(date, isTwoWordVerb);
        }

        public static List<VOCABULARY> getListVocabulariesbyMonth(DateTime date, int idTopic, short isTwoWordVerb)
        {
            return VocabularyDAO.getListVocabulariesbyMonth(date, idTopic, isTwoWordVerb);
        }

        public static List<VOCABULARY> getListRandVocabularies(int nWord)
        {
            return VocabularyDAO.getListRandVocabularies(nWord);
        }

        public static List<VOCABULARY> getListRandVocabularies(int nWord, int idTopic)
        {
            return VocabularyDAO.getListRandVocabularies(nWord, idTopic);
        }

        public static List<VOCABULARY> getListRandVocabularies(int nWord, short isTwoWordVerb)
        {
            return VocabularyDAO.getListRandVocabularies(nWord, isTwoWordVerb);
        }

        public static List<VOCABULARY> getListRandVocabularies(int nWord, int idTopic, short isTwoWordVerb)
        {
            return VocabularyDAO.getListRandVocabularies(nWord, idTopic, isTwoWordVerb);
        }

        public static bool Add(VOCABULARY vc)
        {
            return VocabularyDAO.Add(vc);
        }

        public static bool Edit(String word, String type, int idtopic, VOCABULARY vcUpdate)
        {
            return VocabularyDAO.Edit(word, type,idtopic, vcUpdate);
        }

        public static bool Remove(VOCABULARY vc)
        {
            return VocabularyDAO.Remove(vc);
        }
    }
}
